package com.fzdy.dataplatform.controller.api.device;

import lombok.Data;


@Data
public class DeviceInfoApi {
    private String sn;
    private String name;
    private String business;
    private Integer businessid;
    private String imsi;
    private String imei;
    private String sim;
    private String info;
    private String coordinate;
    private String location;
    private String netway;
    private Integer netwayid;
    private Integer parsektv;
    private Integer isadd;
    private String coapdeviceid;
    private String coappsk;

    public DeviceInfoApi(String sn, String name, String imsi, String imei, String sim, String info, String coordinate, String location, Integer netwayid, Integer parsektv) {
        this.sn = sn;
        this.name = name;
        this.imsi = imsi;
        this.imei = imei;
        this.sim = sim;
        this.info = info;
        this.coordinate = coordinate;
        this.location = location;
        this.netwayid = netwayid;
        this.parsektv = parsektv;
    }

    public void coapInfo(String coapdeviceid, String coappsk) {
        this.coapdeviceid = coapdeviceid;
        this.coappsk = coappsk;
    }
}
